package com.zj;

import com.zj.config.JdbcConfig;
import com.zj.pojo.Dog;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * Hello world!
 *
 */
@Configuration

@Import(JdbcConfig.class)
@ComponentScan
public class App 
{
    @Bean
    Dog adog(){
        return new Dog();
    }
}
